
import { axios } from '@/utils/request'

// 查询喝水、如厕记录
export function drinkAndToilet(url,params) {
  return axios({
    url: url,
    method: 'get',
    params: params
  })
}
// 查询睡眠记录
export function querySleep(url,params) {
  return axios({
    url: url,
    method: 'get',
    params: params
  })
}
// 查询单个学生睡眠
export function queryStudengSleep(params) {
  return axios({
    url: "/health/sleep/selectStudentDetail",
    method: 'get',
    params: params
  })
}
